<%--
  Created by IntelliJ IDEA.
  User: 沦陷
  Date: 2021/10/25
  Time: 22:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>编辑商品分类</title>
    <link type="text/css" rel="stylesheet" href="fontsawesome/css/font-awesome.css"/>
    <link type="text/css" rel="stylesheet" href="css/style.css"/>
</head>
<body>
<div class="main_box">
    <div class="cont_box" style="margin-top:20px;">
        <form action="${pageContext.request.contextPath}/updateKind" method="post" id="add_cyform">
            <ul class="addpro_box">
                <li>
                    <label>商品分类名称：</label>
                    <input type="hidden" value="${list.kid}" name="kid">
                    <input type="text" placeholder="请输入商品分类名称" name="kname" value="${list.kname}"
                           required data-rule-proname="true" data-msg-required="商品分类名称不能为空" data-msg-proname="请输入正确的商品分类名称"/>
                </li>
            </ul>
            <div class="probtn_box clearfix">
                <input type="submit" value="确定" class="btn blue_btn"/>
            </div>
        </form>
    </div>
</div>
<!--javascript include-->
<script src="js/jquery-2.2.1.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/jquery.form.min.js"></script>
<script src="js/other.js"></script>
<script>
    <%--$(function(){--%>
    <%--    $("body").other({formId:"#add_cyform",formUrl:"${pageContext.request.contextPath}/updateKind"});//formUrl 表单请求地址--%>
    <%--});--%>
</script>
</body>
</html>

